package com.example.openim.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 注册请求信息
 * @author: xhq
 * @create: 2025-11-03 17:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterRequestDto {
    private String verifyCode = "666666";
    private boolean autoLogin = true;
    private User user;
    private int  platform = 5;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class User {
        private String nickname;
        private String faceURL = "";
        private String areaCode = "+86";
        private String phoneNumber;
        private String password;
        private String email = "";
    }
}